import { Module } from '@nestjs/common';
import { ArticleCollectController } from './article-collect.controller';
import { ArticleCollectService } from './article-collect.service';
import { AuthModule } from '../auth/auth.module'
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from '../../entities/user.entity'
import { Article } from 'src/entities/article.entity';
import { ArticleCollect } from 'src/entities/articleCollect.entity';

@Module({
  imports: [TypeOrmModule.forFeature([User, Article, ArticleCollect]), AuthModule],
  controllers: [ArticleCollectController],
  providers: [ArticleCollectService]
})
export class ArticleCollectModule { }
